package com.bw.entity;

import org.springframework.beans.factory.annotation.Value;

import java.util.*;

public class Student {

    private Integer id;

    private String name;

    private Teacher teacher;


    private String[] petArray;


    private List<String> gameList;

    private Set<String> bookSet;


    private Map<String,Integer> scoreMap;


    private Properties properties;


    private Date birthDay;


    @Override
    public String toString() {
        return "Student{" +
                "id=" + id +
                ", name='" + name + '\'' +
                ", teacher=" + teacher +
                ", petArray=" + Arrays.toString(petArray) +
                ", gameList=" + gameList +
                ", bookSet=" + bookSet +
                ", scoreMap=" + scoreMap +
                ", properties=" + properties +
                ", birthDay=" + birthDay +
                '}';
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Teacher getTeacher() {
        return teacher;
    }

    public void setTeacher(Teacher teacher) {
        this.teacher = teacher;
    }

    public String[] getPetArray() {
        return petArray;
    }

    public void setPetArray(String[] petArray) {
        this.petArray = petArray;
    }

    public List<String> getGameList() {
        return gameList;
    }

    public void setGameList(List<String> gameList) {
        this.gameList = gameList;
    }

    public Set<String> getBookSet() {
        return bookSet;
    }

    public void setBookSet(Set<String> bookSet) {
        this.bookSet = bookSet;
    }

    public Map<String, Integer> getScoreMap() {
        return scoreMap;
    }

    public void setScoreMap(Map<String, Integer> scoreMap) {
        this.scoreMap = scoreMap;
    }

    public Properties getProperties() {
        return properties;
    }

    public void setProperties(Properties properties) {
        this.properties = properties;
    }

    public Date getBirthDay() {
        return birthDay;
    }

    public void setBirthDay(Date birthDay) {
        this.birthDay = birthDay;
    }
}
